package mdr.demo

class Customer {

    String firstName
    String lastName
    Integer age
    String emailAddress
    
    static hasMany = [products : Product]
	
	static constraints = {
      firstName(blank:false,maxSize:50)
      lastName(blank:false,maxSize:50)
      age(nullable:true)
      emailAddress(nullable:true)
    }

}
